Add Change Reporting Style operation and supporting models#115
Merged
Conversation
- Introduced `ChangeReportingStyleOp` model for change reporting style operations. - Implemented `op_change_reporting_style.py` for handling change reporting style requests. - Updated `ClosePeriodResponse` to include `rule_summary` and `evaluated_structure_ids`. - Added `PendingObligationDetailResponse` model to represent pending obligations. - Enhanced `FiscalCalendarResponse` with new attributes for pending obligations. - Updated various block types to include `COMPREHENSIVE_INCOME`. - Improved `FactLite` model to include `element_name` and `element_qname`. - Added `ClosePeriodResponseRuleSummaryType0` model for rule summary details.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Introduces the Change Reporting Style functionality as a new graph operation in the robosystems client, along with several new and updated models to support this feature and related reporting enhancements.
Key Accomplishments
New Graph Operation
op_change_reporting_style— a new API operation that enables changing the reporting style within the graph operations framework, including full sync/async support and error handling.New Models
ChangeReportingStyleOp— Data model representing the change reporting style operation parameters and structure.ClosePeriodResponseRuleSummaryType0— New type variant for rule summary data within close period responses.PendingObligationDetailResponse— New response model for pending obligation detail data, supporting richer reporting workflows.Model Enhancements
ClosePeriodResponse— Extended with additional fields/functionality (significant expansion of ~58 lines).FiscalCalendarResponse— Substantially enhanced with new attributes and logic (~88 lines added).FactLite— Added new fields to support lightweight fact representations in reporting contexts.InformationBlockEnvelope— Extended with additional properties to accommodate new block types.CreateLegacyArm— Minor updates to support the new reporting style workflow.Block Type Updates
CreateLegacyArmBlockType,DeleteLegacyArmBlockType, andUpdateLegacyArmBlockTypeenums, ensuring consistency across all legacy ARM block type definitions.Module Exports
models/__init__.pyto export all newly introduced models, maintaining clean public API surface.Breaking Changes
ClosePeriodResponseandFiscalCalendarResponsehave been significantly modified. Consumers deserializing these models should verify compatibility with the updated schemas.Testing Notes
op_change_reporting_styleoperation works correctly in both synchronous and asynchronous execution modes.ChangeReportingStyleOp,ClosePeriodResponseRuleSummaryType0,PendingObligationDetailResponse).ClosePeriodResponse,FiscalCalendarResponse,FactLite,InformationBlockEnvelope) remain backward-compatible with existing API responses.Infrastructure Considerations
🤖 Generated with Claude Code
Branch Info:
feature/reporting-stylemainCo-Authored-By: Claude noreply@anthropic.com